package com.cn.mapper;


import com.cn.entity.EbComment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EbCommentMapper {
    int deleteByPrimaryKey(Integer ecId);

    int insert(EbComment record);

    int insertSelective(EbComment record);

    EbComment selectByPrimaryKey(Integer ecId);

    int updateByPrimaryKeySelective(EbComment record);

    int updateByPrimaryKey(EbComment record);

    List<EbComment> findByPage(@Param("page")int page, @Param("pageSize")int pageSize);
    int save(EbComment ebComment);
}